if exist request c#

65

if exist request c# -

protected void Page_Load(object sender, EventArgs e)
    {
         if (!string.IsNullOrEmpty(Request.Params["para"]))
        {
            Response.Write(Request.Params["para"].ToString());
        }
        else
        {
            Response.Write("Request.Params[\"para\"] is null");
        }
    }

Comments

Submit
0 Comments